//
//  XCHTTPManager.h
//  Project
//
//  Created by liu guoqiang on 16/7/8.
//
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>
@interface XCHTTPManager : NSObject
+(instancetype)shareManager;
//get
-(void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;
//post
-(void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failured:(void(^)(NSError *error))failure;

@end
